package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_cookboy1_merge_food", desc = "小当家1-合菜日志", autoSave = true, uploadCk = true)
public class LogCookBoy1MergeFood extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "合成前等级")
    private int oldLevel;
    @FieldTypeAnnotation(desc = "合成后等级")
    private int mergeLevel;
    @FieldTypeAnnotation(desc = "消耗数量")
    private int costNum;
    @FieldTypeAnnotation(desc = "连击数")
    private int combe;
    @FieldTypeAnnotation(desc = "得分")
    private int sorce;

    public LogCookBoy1MergeFood(int activityId, long userId, int oldLevel, int mergeLevel, int costNum, int combe, int sorce) {
        this.activityId = activityId;
        this.userId = userId;
        this.oldLevel = oldLevel;
        this.mergeLevel = mergeLevel;
        this.costNum = costNum;
        this.combe = combe;
        this.sorce = sorce;
    }

    public long getUserId() {
        return userId;
    }

}
